package com.ggleaf.spdemo.bean;

import java.io.Serializable;

/**
 * 商品信息
 */
public class Good implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键key
     */
    private Long id;

    /**
     * 商品名称
     */
    private String title;

    /**
     * 商品价格
     */
    private Double price;

    /**
     * 商品图片地址
     */
    private String image;

    // ........


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
}
